package com.ybb.production.dto;

import com.yubb.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 裁单信息对象 garment_production_cutting_bed_info
 *
 * @author ruoyi
 * @date 2023-09-06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GarmentProductionCuttingBedUpdateDTO extends BaseEntity {

    /**
     * 生产单id
     */
    @ApiModelProperty(value = "生产单id")
    @NotNull(message = "生产单id不能为空")
    private Long orderId;

    /**
     * 裁单id
     */
    @ApiModelProperty(value = "裁单id")
    @NotNull(message = "裁单id不能为空")
    private Long id;

    /**
     * 床号
     */
    @ApiModelProperty(value = "床号")
    @NotNull(message = "床号不能为空")
    private String bedNo;

    /**
     * 交货日期
     */
    @ApiModelProperty(value = "交货日期")
    @NotNull(message = "交货日期不能为空")
    private Date deliveryTime;

    /**
     * 裁剪日期
     */
    @ApiModelProperty(value = "裁剪日期")
    @NotNull(message = "裁剪日期不能为空")
    private Date cutDate;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
}
